import 'package:flutter_widget/flutterwidget/listviewseparated.dart';
import 'package:flutter_widget/flutterwidget/reorderableListView.dart';
import 'package:flutter_widget/flutterwidget/text.dart';
import 'package:flutter_widget/flutterwidget/container.dart';
import 'package:flutter_widget/flutterwidget/listviewbuilder.dart';
import 'package:flutter_widget/flutterwidget/tab.dart';
import 'package:flutter_widget/flutterwidget/life_cycle.dart';
import 'package:flutter_widget/flutterwidget/darwer.dart';
import 'package:flutter_widget/flutterwidget/bottom_navigation_bar.dart';
import 'package:flutter_widget/flutterwidget/dialog.dart';
// import 'package:flutter_widget/flutterwidget/button.dart';
import 'package:flutter_widget/flutterwidget/progress_bar.dart';
import 'package:flutter_widget/flutterwidget/choose.dart';
import 'package:flutter_widget/flutterwidget/form.dart';
import 'package:flutter_widget/flutterwidget/table.dart';
import 'package:flutter_widget/flutterwidget/gridview.dart';
import 'package:flutter_widget/flutterwidget/position.dart';
import 'package:flutter_widget/flutterwidget/column_row.dart';
import 'package:flutter_widget/flutterwidget/flex_expanded.dart';
import 'package:flutter_widget/flutterwidget/pop_menu_button.dart';
import 'package:flutter_widget/flutterwidget/bottom_sheet.dart';
import 'package:flutter_widget/flutterwidget/expansion_panel.dart';
import 'package:flutter_widget/flutterwidget/theme_page.dart';
import 'package:flutter_widget/flutterwidget/provider_page.dart';
import 'package:flutter_widget/flutterwidget/listtitle.dart';
import 'package:flutter_widget/flutterwidget/mvvm.dart';
import 'package:flutter_widget/flutterwidget/widget_info.dart';
import 'package:flutter_widget/flutterwidget/OffStageAndVisibility.dart';

class DynamicUtils {
  // ignore: non_constant_identifier_names
  static List DynamicLists = [
    {
      "text": "Text RichText 文本控件",
      "icon": 0xe6ae,
      "content": TextPage(name: 'Text RichText 文本控件'),
    },
    {
      "text": "Container 容器控件",
      "icon": 0xe6ae,
      "content": ContainerPage(name: 'Container 容器控件'),
    },
    {
      "text": "theme 自定义主题",
      "icon": 0xe6ae,
      "content": ThemePage(name: 'theme 自定义主题'),
    },
    // {
    //   "text": "button 按钮",
    //   "icon": 0xe6ae,
    //   "content": ButtonPage(name: 'button 按钮'),
    // },
    {
      "text": "OffStage and Visibility 控制显示和影藏",
      "icon": 0xe6ae,
      "content": OffStageAndVisibility(name: 'OffStage and Visibility 控制显示和影藏'),
    },
    {
      "text": "progress 进度条",
      "icon": 0xe6ae,
      "content": ProgressBarPage(name: 'progress 进度条'),
    },
    {
      "text": "ListTitle和Card",
      "icon": 0xe6ae,
      "content": ListTitlePage(name: 'ListTitle和Card'),
    },
    {
      "text": "column row 布局",
      "icon": 0xe6ae,
      "content": ColumnPage(name: 'column row 布局'),
    },
    {
      "text": "stack postioned 层叠 定位",
      "icon": 0xe6ae,
      "content": StackPage(name: 'stack postioned 层叠 定位'),
    },
    {
      "text": "flex expanded 弹性布局",
      "icon": 0xe6ae,
      "content": FlexPage(name: 'flex expanded 弹性布局'),
    },
    {
      "text": "gridview 网格布局",
      "icon": 0xe6ae,
      "content": GridviewPage(name: 'gridview 网格布局'),
    },
    {
      "text": "checkbox switch  radio 复选框和开关及radio单选框 slider滑动",
      "icon": 0xe6ae,
      "content": ChoosePage(name: 'checkbox switch  radio 复选框和开关及radio单选框 slider滑动'),
    },
    {
      "text": "ListView.builder 列表控件",
      "icon": 0xe6ae,
      "content": ListViewBuilderPage(name: 'ListView.builder 列表控件'),
    },
    {
      "text": "ListView.separated 列表控件",
      "icon": 0xe6ae,
      "content": ListviewSeparated(name: 'ListView.separated 列表控件'),
    },
    {
      "text": "darwer 抽屉控件",
      "icon": 0xe6ae,
      "content": DrawerPage(name: 'darwer 抽底控件'),
    },
    {
      "text": "bottomNavigationBar 底部导航控件",
      "icon": 0xe6ae,
      "content": BottomNavigationBarPage(name: 'bottomNavigationBar 底部导航控件'),
    },
    {
      "text": "Dialog 显示对话框（Dialog",
      "icon": 0xe6ae,
      "content": DialogPage(name: 'TDialog 显示对话框（Dialog)'),
    },
    {
      "text": "form 表单",
      "icon": 0xe6ae,
      "content": FormPage(name: 'form 表单'),
    },
    {
      "text": "table 表格",
      "icon": 0xe6ae,
      "content": TablePage(name: 'table 表格'),
    },
    {
      "text": "PopMenuButton 弹出式菜单",
      "icon": 0xe6ae,
      "content": PopMenuButtonPage(name: 'PopMenuButton 弹出式菜单'),
    },
    {
      "text": "BottomSheet 底部弹出框",
      "icon": 0xe6ae,
      "content": BottomSheetPage(name: 'BottomSheet 底部弹出框'),
    },
    {
      "text": "自定义tab 选项卡控件",
      "icon": 0xe6ae,
      "content": TabPage(name: 'tab 选项卡控件'),
    },
    {
      "text": "ExpansionPanel 折叠面板",
      "icon": 0xe6ae,
      "content": ExpansionPanelPage(name: 'ExpansionPanel 折叠面板'),
    },
    {
      "text": "获取widget的位置信息和大小",
      "icon": 0xe6ae,
      "content": GetWidgetInfo(name: '获取widget的位置信息和大小'),
    },
    {
      "text": "flutter 生命周期",
      "icon": 0xe6ae,
      "content": LifeCycle(name: '获取widget的位置信息和大小'),
    },
    {
      "text": "provider 状态管理",
      "icon": 0xe6ae,
      "content": ProviderPage(name: 'provider 状态管理'),
    },
    {
      "text": "mvvm 设计模式",
      "icon": 0xe6ae,
      "content": MvvmPage(name: 'mvvm 设计模式'),
    },
    {
      "text": "recorderableListView 拖拽组件",
      "icon": 0xe6ae,
      "content": RecorderableListViewPage(name: 'recorderableListView 拖拽组件'),
    },

  ];
}
